package com.example.fanplant.respository;

import com.example.fanplant.model.Region;
import com.example.fanplant.model.Vitae_table;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface RegionRepository extends CrudRepository<Region, Long> {

    //    List<Region> findByIdBefore(int region_id);
    List<Region> findByIdBefore(int id);
}
